package cn.liutao.common.enums;

import lombok.Getter;
import lombok.Value;

/**
 * @author liutao
 * @Description 订单状态枚举
 * @date 2023/11/2 11:18
 * @Version 1.0
 */
@Getter
public enum OrderEnum {

    ORDER_STATUS_NO_PAY(0,"待支付"),
    ORDER_STATUS_NO_SERVE(1,"待出餐"),
    ORDER_STATUS_SERVED(2,"已出餐"),
    ORDER_STATUS_FINISHED(3,"已完成"),
    ORDER_STATUS_OVERDUE(4,"已过期"),
    ORDER_STATUS_CANCEL(5,"已取消"),
    CART_STATUS_BUY(1,"已下单"),
    CART_STATUS_NO_BUY(0,"未下单"),
    CART_TYPE_BUY(1,"直接购买"),
    CART_TYPE_ADD_CART(0,"加入购物车"),
    ;
    private Integer intValue;
    private String desc;

    OrderEnum(Integer intValue, String desc) {
        this.intValue = intValue;
        this.desc = desc;
    }


}
